import { getListApi, getDetilApi } from '@/api/index.js'
let actions = {
    async actChangeList(context, params) {
        let result = await getListApi(params)
            // console.log(result.data);
        context.commit('changeList', result.data)
    },
    async actChangedetailLists(context, id) {
        let result = await getDetilApi(id)
        console.log(result.data[0]);
        context.commit('changedetailLists', result.data[0])
    }
}
export default actions